package com.wj.console.bean.welfareshop.result;

import java.io.Serializable;
import java.util.Map;

/**   
 * 类名称：Cate
 * 类描述 ：产品分类
 * 创建人: Administrator  
 * 创建时间：2017-5-2 上午10:34:57  
 * 修改人：
 * 修改时间：
 * 修改备注：
 * 版本： V1.0
 */
public class Cate implements Serializable{
	private static final long serialVersionUID = 1L;
	private String code;//分类ID
	private String name;//分类名称
	private Integer level;//层级 (0、1)
	private Boolean status;//状态(true:启用, false:禁用)
	
	//private String id;//分类ID
	private String parentId;//父ID
	
	private Map<String,Cate> cateMap;
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getLevel() {
		return level;
	}
	public void setLevel(Integer level) {
		this.level = level;
	}
	public Boolean getStatus() {
		return status;
	}
	public void setStatus(Boolean status) {
		this.status = status;
	}
	
	/*public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}*/
	public String getParentId() {
		return parentId;
	}
	public void setParentId(String parentId) {
		this.parentId = parentId;
	}
	public Map<String, Cate> getCateMap() {
		return cateMap;
	}
	public void setCateMap(Map<String, Cate> cateMap) {
		this.cateMap = cateMap;
	}
	@Override
	public String toString() {
		return "Cate [code=" + code + ", name=" + name  + ", level=" + level + ", status=" + status
				+ ", parentId=" + parentId + ", cateMap="
				+ cateMap + "]";
	}
}
